package homework.polymorphic;

public class Graphic {
    public double area(){
        return 0.0;
    }
    public double perimeter(){
        return 0.0;
    }
    public String getInfo(){
        return "图形的面积为"+area()+",周长为"+perimeter();
    }
}
